
import data.Event;
import data.Office;
import java.util.ArrayList;
import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
import parser.txtParser;

/**
 *
 * @author David Csejtei, CodeGuide Team, http://codeguide.hu
 */
public class testEvent {
    
    public testEvent() {
    }
    
    @BeforeClass
    public static void setUpClass() {
        
    }
    
    @AfterClass
    public static void tearDownClass() {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }
    
    /*@Test
    public void testEventParsing() {
        List<Event> list = txtParser.readEventsFromTxt();
        assertEquals(3, list.size());
    }*/
    
    /*@Test
    public void testOfficeParsing() {
        List<Office> list = txtParser.readOfficesFromTxt();
        assertEquals(1, list.size());
    }*/
    
    @Test
    public void testOffices() throws InterruptedException {
         for(int i=1; i<=30; i++) {
            Office o = new Office("Iroda"+i);
            o.start();
            o.join();
         }
    }
  
    
}